/**  通用模块 **/

import http from "@/api";

// 获取班次类型
export const getMineShiftList = (params) => {
    return http.post( `/report/getMineClassTypeList`, params); 
};

// 获取产量类型
export const getYieldList = (params) => {
    return http.post( `/report/getMineOutputTypeList`, params); 
}

// 获取设备型号
export const getModelList = (params) => {
    return http.post( `/vehicleModel/getVehicleModelList`, params); 
};

// 获取设备编号
export const getNumberList = (params) => {
    return http.post( `/vehicle/queryVehicleList`, params); 
};

// 获取破碎站、卸载位
export const getCrushStation = (params) => {
    return http.post( `/report/getCrushStationList`, params); 
};

// 获取能耗类型
export const getEnergyList = (params) => {
    return http.post( `/report/queryMinePowerTypeList`, params); 
};

// 字典码表数据获取
export const getDicItemsByTypeCode = (params) => {
    return http.post( `/report/queryDicItemsByTypeCode`, params); 
};

// 获取故障等级
export const getFaultLevelList = (params) => {
    return http.post( `/report/getMineFaultDictionaryList`, params); 
};

// 获取故障模块
export const getFaultModulelList = (params) => {
    return http.post( `/report/getMineFaultDictionaryList`, params); 
};



